package per.hx.bs.base.entity;

import java.io.Serializable;
import java.util.Arrays;
import java.util.HashMap;

/**
 * Email封装类
 *
 * @author HuXing
 * @date 2018/4/26  10:58
 */

public class EmailVO implements Serializable {

    /**
     * 接收方邮件
     */
    private String[] email;
    /**
     * 主题
     */
    private String subject;
    /**
     * 邮件内容
     */
    private String content;
    /**
     * 模板
     */
    private String template;
    /**
     * 自定义参数
     */
    private HashMap<String, String> kvMap;


    public String[] getEmail() {
        return email;
    }

    public void setEmail(String[] email) {
        this.email = email;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public HashMap<String, String> getKvMap() {
        return kvMap;
    }

    public void setKvMap(HashMap<String, String> kvMap) {
        this.kvMap = kvMap;
    }

    @Override
    public String toString() {
        return "EmailVO{" +
                "email=" + Arrays.toString(email) +
                ", subject='" + subject + '\'' +
                ", content='" + content + '\'' +
                ", template='" + template + '\'' +
                ", kvMap=" + kvMap +
                '}';
    }
}
